package com.bwda.dsrs.filecenter.domain.form.scanresultstatistics;

import javax.validation.constraints.NotNull;
import com.bwda.dsrs.base.util.DateUtil;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "扫描结果统计信息表")
public class ScanResultStatisticsUpdateForm {

	@ApiModelProperty(value = "db_id", required = true)
	@NotNull(message = "db_id不能为空")
	private Integer dbId;

	@ApiModelProperty(value = "库数量")
	private Integer dbNum;

	@ApiModelProperty(value = "表数量")
	private Integer tableNum;

	@ApiModelProperty(value = "敏感表数量")
	private Integer senstableNum;

	@ApiModelProperty(value = "字段数量")
	private Integer columnNum;

	@ApiModelProperty(value = "敏感字段数量")
	private Integer senscolumnNum;

	@ApiModelProperty(value = "标签敏感字段")
	private Integer wordId;

	@ApiModelProperty(value = "标签敏感名称")
	private String wordName;

	@ApiModelProperty(value = "扩展字段")
	private String ext1;

	@ApiModelProperty(value = "扩展字段")
	private String ext2;

	@ApiModelProperty(value = "扩展字段")
	private String ext3;

	@ApiModelProperty(value = "创建时间,格式为:" + DateUtil.FORMAT)
	@DateTimeFormat(pattern = DateUtil.FORMAT)
	private Date createTime;

	@ApiModelProperty(value = "更新时间,格式为:" + DateUtil.FORMAT)
	@DateTimeFormat(pattern = DateUtil.FORMAT)
	private Date updateTime;

	@ApiModelProperty(value = "备注")
	private String remark;

}